char name[10]; // special note: Even though you said that you need cout to display numbers, I discovered that's not true and you can with printf because I made a smaller version of the other program using printf...U just need to use %d rather than %s/
int sum,length,i,xored,serial;
printf("Enter your name (max 10, NO Spaces, ?'s, !'s, etc...letters only):");